\hypertarget{class_point}{\section{Point Class Reference}
\label{class_point}\index{Point@{Point}}
}


{\ttfamily \#include $<$Point.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_point_a1c8a6881ed0f11828299033c5959d147}{Point} (int x=0, int y=0)
\item 
\hyperlink{class_point_a2b6961ba767c68075667c0f3064c6ba9}{Point} (const \hyperlink{class_point}{Point} \&orig)
\item 
virtual \hyperlink{class_point_a395fa04b4ec126b66fc053f829a30cc1}{$\sim$\-Point} ()
\item 
\hyperlink{class_point}{Point} \& \hyperlink{class_point_a2e9b276c9dcf3a523bf71b7ab3afcf70}{operator=} (const \hyperlink{class_point}{Point} \&orig)
\item 
void \hyperlink{class_point_a9869fd5b4e30ebc39e7e106bf6f86afd}{set\-Point} (int x, int y)
\item 
int \hyperlink{class_point_a1e14b3baddb1bbb57161ad02d69e0c0d}{get\-Absis} () const 
\item 
int \hyperlink{class_point_ac6261024ffbbac931f11abc483784fe4}{get\-Ordinat} () const 
\item 
int \hyperlink{class_point_adaab60a4ec871f5cf62ef98e44dc5a21}{dot} (const \hyperlink{class_point}{Point} \&P) const 
\item 
\hyperlink{class_point}{Point} \& \hyperlink{class_point_a45281692a2c117233a498c8c32212e1b}{Mirror} (const \hyperlink{class_point}{Point} \&P1, const \hyperlink{class_point}{Point} \&P2) const 
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
ostream \& \hyperlink{class_point_a78f330620b1fd22c9e7d6d843d4a7bff}{operator$<$$<$} (ostream \&stream, const \hyperlink{class_point}{Point} \&P)
\item 
\hyperlink{class_point}{Point} \hyperlink{class_point_af9fd2d27c54f694ce11ba1e9df0b58f1}{operator+} (const \hyperlink{class_point}{Point} \&p1, const \hyperlink{class_point}{Point} \&p2)
\item 
\hyperlink{class_point}{Point} \hyperlink{class_point_aff59dfb837229858286c1652bd9a8e40}{operator-\/} (const \hyperlink{class_point}{Point} \&p1, const \hyperlink{class_point}{Point} \&p2)
\item 
\hyperlink{class_point}{Point} \hyperlink{class_point_ac75daa2ffe468eb783c8b066ae171d18}{operator$\ast$} (const \hyperlink{class_point}{Point} \&P, int X)
\item 
\hyperlink{class_point}{Point} \hyperlink{class_point_ac5e8035b5853c5097be2cea505b61355}{operator$\ast$} (int X, const \hyperlink{class_point}{Point} \&P)
\item 
\hyperlink{class_point}{Point} \hyperlink{class_point_a27ede9df61161312a6ee7bed5aeff73c}{operator/} (const \hyperlink{class_point}{Point} \&P, int X)
\item 
\hyperlink{class_point}{Point} \hyperlink{class_point_a69765a515bb264279ea0dbf55327d412}{operator/} (int X, const \hyperlink{class_point}{Point} \&P)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Kelas \hyperlink{class_point}{Point} 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_point_a1c8a6881ed0f11828299033c5959d147}{\index{Point@{Point}!Point@{Point}}
\index{Point@{Point}!Point@{Point}}
\subsubsection[{Point}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point\-::\-Point} (
\begin{DoxyParamCaption}
\item[{int}]{x = {\ttfamily 0}, }
\item[{int}]{y = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{class_point_a1c8a6881ed0f11828299033c5959d147}
Konstruktor dari kelas point


\begin{DoxyParams}{Parameters}
{\em x} & Absis (default\-:0) \\
\hline
{\em y} & Ordinat (default\-:0) \\
\hline
\end{DoxyParams}
\hypertarget{class_point_a2b6961ba767c68075667c0f3064c6ba9}{\index{Point@{Point}!Point@{Point}}
\index{Point@{Point}!Point@{Point}}
\subsubsection[{Point}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point\-::\-Point} (
\begin{DoxyParamCaption}
\item[{const {\bf Point} \&}]{orig}
\end{DoxyParamCaption}
)}}\label{class_point_a2b6961ba767c68075667c0f3064c6ba9}
Copy Konstruktor dari kelas point


\begin{DoxyParams}{Parameters}
{\em orig} & \hyperlink{class_point}{Point} original (reference ke \hyperlink{class_point}{Point}) \\
\hline
\end{DoxyParams}
\hypertarget{class_point_a395fa04b4ec126b66fc053f829a30cc1}{\index{Point@{Point}!$\sim$\-Point@{$\sim$\-Point}}
\index{$\sim$\-Point@{$\sim$\-Point}!Point@{Point}}
\subsubsection[{$\sim$\-Point}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point\-::$\sim$\-Point} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{class_point_a395fa04b4ec126b66fc053f829a30cc1}
Destruktor dari kelas point 

\subsection{Member Function Documentation}
\hypertarget{class_point_adaab60a4ec871f5cf62ef98e44dc5a21}{\index{Point@{Point}!dot@{dot}}
\index{dot@{dot}!Point@{Point}}
\subsubsection[{dot}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Point\-::dot} (
\begin{DoxyParamCaption}
\item[{const {\bf Point} \&}]{P}
\end{DoxyParamCaption}
) const}}\label{class_point_adaab60a4ec871f5cf62ef98e44dc5a21}
Operator perkalian dot terhadap kelas point 
\begin{DoxyParams}{Parameters}
{\em P} & Suatu \hyperlink{class_point}{Point} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Absis$\ast$\-P.Absis+\-Ordinat$\ast$\-P.Ordinat 
\end{DoxyReturn}
\hypertarget{class_point_a1e14b3baddb1bbb57161ad02d69e0c0d}{\index{Point@{Point}!get\-Absis@{get\-Absis}}
\index{get\-Absis@{get\-Absis}!Point@{Point}}
\subsubsection[{get\-Absis}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Point\-::get\-Absis} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{class_point_a1e14b3baddb1bbb57161ad02d69e0c0d}
Getter Absis \begin{DoxyReturn}{Returns}
Absis dari \hyperlink{class_point}{Point} 
\end{DoxyReturn}
\hypertarget{class_point_ac6261024ffbbac931f11abc483784fe4}{\index{Point@{Point}!get\-Ordinat@{get\-Ordinat}}
\index{get\-Ordinat@{get\-Ordinat}!Point@{Point}}
\subsubsection[{get\-Ordinat}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf Point\-::get\-Ordinat} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{class_point_ac6261024ffbbac931f11abc483784fe4}
Getter Ordinat \begin{DoxyReturn}{Returns}
Ordinat dari \hyperlink{class_point}{Point} 
\end{DoxyReturn}
\hypertarget{class_point_a45281692a2c117233a498c8c32212e1b}{\index{Point@{Point}!Mirror@{Mirror}}
\index{Mirror@{Mirror}!Point@{Point}}
\subsubsection[{Mirror}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point}\& {\bf Point\-::\-Mirror} (
\begin{DoxyParamCaption}
\item[{const {\bf Point} \&}]{P1, }
\item[{const {\bf Point} \&}]{P2}
\end{DoxyParamCaption}
) const}}\label{class_point_a45281692a2c117233a498c8c32212e1b}
Operasi Mirror pada suatu \hyperlink{class_point}{Point} 
\begin{DoxyParams}{Parameters}
{\em P1} & Suatu \hyperlink{class_point}{Point} \\
\hline
{\em P2} & Suatu \hyperlink{class_point}{Point} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Mirror P1 terhadap P2 
\end{DoxyReturn}
\hypertarget{class_point_a2e9b276c9dcf3a523bf71b7ab3afcf70}{\index{Point@{Point}!operator=@{operator=}}
\index{operator=@{operator=}!Point@{Point}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point} \& Point\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf Point} \&}]{orig}
\end{DoxyParamCaption}
)}}\label{class_point_a2e9b276c9dcf3a523bf71b7ab3afcf70}
Assignment operator dari kelas \hyperlink{class_point}{Point} 
\begin{DoxyParams}{Parameters}
{\em orig} & \hyperlink{class_point}{Point} original (reference ke \hyperlink{class_point}{Point}) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Reference ke \hyperlink{class_point}{Point} (memungkinkan asssigment berantai) 
\end{DoxyReturn}
\hypertarget{class_point_a9869fd5b4e30ebc39e7e106bf6f86afd}{\index{Point@{Point}!set\-Point@{set\-Point}}
\index{set\-Point@{set\-Point}!Point@{Point}}
\subsubsection[{set\-Point}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf Point\-::set\-Point} (
\begin{DoxyParamCaption}
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)}}\label{class_point_a9869fd5b4e30ebc39e7e106bf6f86afd}
Setter dari kelas point


\begin{DoxyParams}{Parameters}
{\em x} & Absis \\
\hline
{\em y} & Ordinat \\
\hline
\end{DoxyParams}


\subsection{Friends And Related Function Documentation}
\hypertarget{class_point_ac75daa2ffe468eb783c8b066ae171d18}{\index{Point@{Point}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!Point@{Point}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point} operator$\ast$ (
\begin{DoxyParamCaption}
\item[{const {\bf Point} \&}]{P, }
\item[{int}]{X}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{class_point_ac75daa2ffe468eb783c8b066ae171d18}
Operator perkalian terhadap kelas point 
\begin{DoxyParams}{Parameters}
{\em P} & Suatu \hyperlink{class_point}{Point} \\
\hline
{\em X} & Konstanta \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{class_point}{Point}(P.\-Absis$\ast$\-X,P.\-Ordinat$\ast$\-X) 
\end{DoxyReturn}
\hypertarget{class_point_ac5e8035b5853c5097be2cea505b61355}{\index{Point@{Point}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!Point@{Point}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point} operator$\ast$ (
\begin{DoxyParamCaption}
\item[{int}]{X, }
\item[{const {\bf Point} \&}]{P}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{class_point_ac5e8035b5853c5097be2cea505b61355}
Operator perkalian terhadap kelas point 
\begin{DoxyParams}{Parameters}
{\em X} & Konstanta \\
\hline
{\em P} & Suatu \hyperlink{class_point}{Point} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{class_point}{Point}(P.\-Absis$\ast$\-X,P.\-Ordinat$\ast$\-X) 
\end{DoxyReturn}
\hypertarget{class_point_af9fd2d27c54f694ce11ba1e9df0b58f1}{\index{Point@{Point}!operator+@{operator+}}
\index{operator+@{operator+}!Point@{Point}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point} operator+ (
\begin{DoxyParamCaption}
\item[{const {\bf Point} \&}]{p1, }
\item[{const {\bf Point} \&}]{p2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{class_point_af9fd2d27c54f694ce11ba1e9df0b58f1}
Operator + untuk kelas \hyperlink{class_point}{Point} menghasilkan (p1.\-x+p2.x,p1.\-y+p2.y)


\begin{DoxyParams}{Parameters}
{\em p1} & Point1 \\
\hline
{\em p2} & Point2 \\
\hline
\end{DoxyParams}
\hypertarget{class_point_aff59dfb837229858286c1652bd9a8e40}{\index{Point@{Point}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!Point@{Point}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point} operator-\/ (
\begin{DoxyParamCaption}
\item[{const {\bf Point} \&}]{p1, }
\item[{const {\bf Point} \&}]{p2}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{class_point_aff59dfb837229858286c1652bd9a8e40}
Operator -\/ untuk kelas \hyperlink{class_point}{Point} menghasilkan (p1.\-x-\/p2.\-x,p1.\-y-\/p2.\-y) 
\begin{DoxyParams}{Parameters}
{\em p1} & Point1 \\
\hline
{\em p2} & Point2 \\
\hline
\end{DoxyParams}
\hypertarget{class_point_a27ede9df61161312a6ee7bed5aeff73c}{\index{Point@{Point}!operator/@{operator/}}
\index{operator/@{operator/}!Point@{Point}}
\subsubsection[{operator/}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point} operator/ (
\begin{DoxyParamCaption}
\item[{const {\bf Point} \&}]{P, }
\item[{int}]{X}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{class_point_a27ede9df61161312a6ee7bed5aeff73c}
Operator pembagian terhadap kelas point 
\begin{DoxyParams}{Parameters}
{\em P} & Suatu \hyperlink{class_point}{Point} \\
\hline
{\em X} & Konstanta \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{class_point}{Point}(P.\-Absis/\-X,P.\-Ordinat/\-X) 
\end{DoxyReturn}
\hypertarget{class_point_a69765a515bb264279ea0dbf55327d412}{\index{Point@{Point}!operator/@{operator/}}
\index{operator/@{operator/}!Point@{Point}}
\subsubsection[{operator/}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point} operator/ (
\begin{DoxyParamCaption}
\item[{int}]{X, }
\item[{const {\bf Point} \&}]{P}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{class_point_a69765a515bb264279ea0dbf55327d412}
Operator pembagian terhadap kelas point 
\begin{DoxyParams}{Parameters}
{\em X} & Konstanta \\
\hline
{\em P} & Suatu \hyperlink{class_point}{Point} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{class_point}{Point}(P.\-Absis/\-X,P.\-Ordinat/\-X) 
\end{DoxyReturn}
\hypertarget{class_point_a78f330620b1fd22c9e7d6d843d4a7bff}{\index{Point@{Point}!operator$<$$<$@{operator$<$$<$}}
\index{operator$<$$<$@{operator$<$$<$}!Point@{Point}}
\subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}ostream\& operator$<$$<$ (
\begin{DoxyParamCaption}
\item[{ostream \&}]{stream, }
\item[{const {\bf Point} \&}]{P}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{class_point_a78f330620b1fd22c9e7d6d843d4a7bff}
Output Stream untuk kelas point


\begin{DoxyParams}{Parameters}
{\em stream} & Buffer stream output \\
\hline
{\em P} & \hyperlink{class_point}{Point} P \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
stream output untuk kelas \hyperlink{class_point}{Point} 
\end{DoxyReturn}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
D\-:/\-O\-O\-P/tubes1/src/\-Point/\hyperlink{_point_8h}{Point.\-h}\item 
D\-:/\-O\-O\-P/tubes1/src/\-Point/Point.\-cpp\end{DoxyCompactItemize}
